//---------------------------------------------------------------------------

#ifndef WorkH
#define WorkH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <DBCtrls.hpp>
#include <Mask.hpp>
#include <ActnList.hpp>
#include <ComCtrls.hpp>
#include <ToolWin.hpp>
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
class TWorkEdit : public TForm
{
__published:	// IDE-managed Components
        TLabel *Label1;
        TLabel *Label2;
        TLabel *Label3;
  TDBComboBox *cbMark;
  TDBLookupComboBox *cbTeachers;
  TDBComboBox *cbWorkName;
    TLabel *Label4;
    TDBEdit *DBEdit1;
    TLabel *Label5;
    TDBEdit *DBEdit2;
    TActionList *ActionList1;
    TAction *actPost;
    TAction *actCancel;
    TToolBar *ToolBar1;
    TAction *actLeave;
    TToolButton *btPost;
    TToolButton *btCancel;
    TToolButton *ToolButton3;
    TToolButton *ToolButton4;
  void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  void __fastcall FormShow(TObject *Sender);
    void __fastcall actPostExecute(TObject *Sender);
    void __fastcall actCancelExecute(TObject *Sender);
    void __fastcall ActionList1Update(TBasicAction *Action, bool &Handled);
    void __fastcall actLeaveExecute(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TWorkEdit(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TWorkEdit *WorkEdit;
//---------------------------------------------------------------------------

//---------------------------------------------------------------------------
#endif
